<template>
  <div id="profile">

  <div class="embed-iframe"><iframe id="userCenter" :src="ucenter" frameborder="0"></iframe></div>
  </div>
</template>
<style type="text/css" media="screen">
#userCenter{
  width:100vw;
  height:900px;

}
</style>
<script charset="utf-8">
  // import {  Cell }  from 'vux'


import { Cell } from 'vux'
export default {
  data(){
   return {
     p_o2: require('../assets/p_o2.png'),
     p_o3: require('../assets/p_o3.png'),
     title:"全部订单",
     list:[
       // {title:"全部订单" ,link:"/Login",icon:"p_o1.png"},
       {title:"待付款(0)" ,link:"/Login",ion:this.p_o2},
       {title:"售后退款(0)" ,link:"/Login",ion:this.p_o3}


   ]
   }
},
  components:{
    Cell
  },

  computed:{

      iframurl(){
        if (this.$store.getters.all_iframeurl) {
          return this.$store.getters.all_iframeurl
       }
      else {


        var x =  window.localStorage.getItem("ls-token")


        return "http://appjk.lep365.com/hgShop/goods?accessToken=" + x  //this.$store.getters.all_login.accessToken
      }
      },
    ucenter(){

        var x =  window.localStorage.getItem("ls-token")
      // return "http://116.228.152.190:666/lejf-mobile-api/shop/user-center?accessToken=" + this.$store.getters.all_login.accessToken

        return "http://appjk.lep365.com/shop/user-center?accessToken=" + x  //this.$store.getters.all_login.accessToken
    }
  },
  methods:{
  trimCharacter:function(e){
return e.trim();
}

}
}

</script>
